package com.cs.user.service.impl;


import com.cs.domain.entity.Role;
import com.cs.user.dao.IRoleDao;
import com.cs.user.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoleServiceImpl implements IRoleService {

    @Autowired
    private IRoleDao roleDao;

    @Override
    public List<Role> findAllRole() {
        return roleDao.selectList(null);
    }
}
